package cn.bs.mapper;

import cn.bs.domain.dao.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

@org.apache.ibatis.annotations.Mapper
public interface UserMapper extends BaseMapper<User> {

    public User getUserByNameAndPwd(String name, String pwd);

    User getUserByTelephone(String telephone);

    User getById(Integer userId);

    List<User> getAll();

    Integer getMaxId();

    List<User> getByName(String name);

}
